using Koala.Pro.Common;
using System.Globalization;
using System.Windows.Data;

namespace Koala.Pro.Helpers;

public class ProcTypeIdToNameConverter : IValueConverter
{
    public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
    {
        int? num = value.ToIntOrNull();
        if (!num.HasValue || num.ToString().IsNullOrEmpty())
        {
            return "";
        }
        //return AppItemsUtil.GetProTypeString(num.ToString());
        return "TODO";
    }

    public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
    {
        throw new NotImplementedException();
    }
}
